/*
 * Copyright 2012 Focus Technology, Co., Ltd. All rights reserved.
 */
package com.coderonrails.cdistr.master.comint;

/**
 * ServerConfig.java
 * 
 * @author chenjianguo
 */
public class MasterConfig {
    private int managePort = 4321;
    private int dataPort = 4322;
    private int heartPort = 4323;
    private int maxConn = 10;

    public int getManagePort() {
        return managePort;
    }

    public void setManagePort(int managePort) {
        this.managePort = managePort;
    }

    public int getDataPort() {
        return dataPort;
    }

    public void setDataPort(int dataPort) {
        this.dataPort = dataPort;
    }

    public int getHeartPort() {
        return heartPort;
    }

    public void setHeartPort(int heartPort) {
        this.heartPort = heartPort;
    }

    public int getMaxConn() {
        return maxConn;
    }

    public void setMaxConn(int maxConn) {
        this.maxConn = maxConn;
    }

}
